package com.app.milkteaapp.bean;

import java.util.List;

public class FindCommentGsonBean {
    /**
     * data : [{"id":5,"userid":1,"teaid":1,"comment":"奥好","date":"2020-06-03 11:00","score":4}]
     * success : true
     * massage : 查询评论成功!
     */

    private boolean success;
    private String massage;
    private List<Comment> data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMassage() {
        return massage;
    }

    public void setMassage(String massage) {
        this.massage = massage;
    }

    public List<Comment> getData() {
        return data;
    }

    public void setData(List<Comment> data) {
        this.data = data;
    }

    public static class Comment {
        /**
         * id : 5
         * userid : 1
         * teaid : 1
         * comment : 奥好
         * date : 2020-06-03 11:00
         * score : 4
         */

        private int id;
        private int userid;
        private int teaid;
        private String comment;
        private String date;
        private int score;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserid() {
            return userid;
        }

        public void setUserid(int userid) {
            this.userid = userid;
        }

        public int getTeaid() {
            return teaid;
        }

        public void setTeaid(int teaid) {
            this.teaid = teaid;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }
    }
}
